package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.qbdms.model.WQbdSubStandardClause;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 子标准条款 信息数据库操作类
 *
 * @author 王明亮
 * @date 2020-07-23 21:03:44
 */
@Mapper
public interface WQbdSubStandardClauseDao extends IBaseMapper<WQbdSubStandardClause, String> {

    List<WQbdSubStandardClause> queryAll(QueryFilter queryFilter);

    int getMaxSortId();

    List<WQbdSubStandardClause> getByStandardClauseId(String standardClauseId);

    List<WQbdSubStandardClause> getByAccordingStandardAndStandardClause(@Param("accordingStandard") String accordingStandard, @Param("standardClause") String standardClause);
}
